/*
* Copyright (c) 2011 Connection Road.  All rights reserved.
* This program and the accompanying material are made available
* under the terms of the Eclipse Public Licnese v1.0 which is
* available at http://www.eclipse.org/legal/epl-v10.html
*/

using Microsoft.Synchronization;
using Microsoft.Synchronization.Files;

namespace CrSyncFilesUtils
{
    public class CrSyncConflictingItem
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:System.Object"/> class.
        /// </summary>
        public CrSyncConflictingItem(SyncId identifier, IFileDataRetriever managedFileDataRetriever)
        {
            Identifier = identifier;
            ManagedFileDataRetriever = managedFileDataRetriever;
        }

        public CrSyncConflictingItem()
        {
            Identifier = null;
            ManagedFileDataRetriever = null;
        }

        public SyncId Identifier { get; set; }
        public IFileDataRetriever ManagedFileDataRetriever { get; set; }
        public string RootDirectoryPath { get; set; }
        public ChangeKind ChangeType { get; set; }

    }
}
